package com.example.foobar.business.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.example.foobar.entity.DaRetentionRates;
import com.example.foobar.entity.ImsAccountWechats;
import com.example.foobar.param.DaRetentionRatesPageParam;
import com.example.foobar.param.ImsAccountWechatsPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

import java.util.List;

/**
 *  服务类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
public interface ImsAccountWechatsService {

    /**
     * 保存
     *
     * @param imsAccountWechats
     * @return
     * @throws Exception
     */
    boolean saveImsAccountWechats(ImsAccountWechats imsAccountWechats) throws Exception;

    /**
     * 修改
     *
     * @param imsAccountWechats
     * @return
     * @throws Exception
     */
    boolean updateImsAccountWechats(ImsAccountWechats imsAccountWechats) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteImsAccountWechats(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param imsAccountWechatsQueryParam
     * @return
     * @throws Exception
     */
    Paging<ImsAccountWechats> getImsAccountWechatsPageList(ImsAccountWechatsPageParam imsAccountWechatsPageParam) throws Exception;

    List<ImsAccountWechats> selectList(LambdaQueryWrapper<ImsAccountWechats> eq);

    ImsAccountWechats getById(Long id);

}
